package com.zhou.springboot.dto;

import javax.persistence.Column;

/**
 * author : zhoujb
 * created : 2020/7/12.
 * QQ : 1377072049
 */
public class PersonDto {


    private String name;

    private int age;

    private String job;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public PersonDto(String name, int age, String job) {
        this.name = name;
        this.age = age;
        this.job = job;
    }
    public PersonDto(){}

    @Override
    public String toString() {
        return "PersonDto{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", job='" + job + '\'' +
                '}';
    }
}
